package com.econ.powercloud.ems.pojo.requestVO;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author : zjf
 * @Description : 新增预警点号VO
 * @Date : 2022/12/2 15:12
 * @Modified by : zjf
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class EmsWarnPidRequestVO {

    @NotBlank
    @ApiModelProperty(value = "设备编号")
    private String deviceCode;

    @NotNull
    @ApiModelProperty(value = "点号类型")
    private Integer ditType;

    @NotBlank
    @ApiModelProperty(value = "点号")
    private String dit;

    @ApiModelProperty(value = "预警上限")
    private Double warnUpper;

    @ApiModelProperty(value = "预警下限")
    private Double warnLower;

}
